package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.other.FeaturesDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FeaturesRepository extends BaseRepository<FeaturesDto,String> {

    List<FeaturesDto> findFeaturesDtosByLevel(Integer level);

    List<FeaturesDto> findBySuperiorName(String superiorName);

    FeaturesDto findByName(String name);



}
